package com.yf.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yf.entity.SysUser;
import com.yf.mapper.SysUserMapper;
import com.yf.service.UserService;

@Service
public class UserServiceImpl implements UserService {
	
	@Autowired
	private SysUserMapper sysUserMapper;

	@Override
	public SysUser getUserByName(String name) {
		return sysUserMapper.selectByName(name);
	}

}
